package my.jbf.ALLINONE.DBtest;
import android.database.sqlite.*;
import android.content.*;
import android.os.*;

public class DBhelper extends SQLiteOpenHelper
{




	private final static String address=Environment.getExternalStorageDirectory().getPath() + "/000/GAMEDB.db";
	private final static int version=1;
	public DBhelper(Context context)
	{
		super(context, address, null, version);
	}

	@Override
	public void onCreate(SQLiteDatabase p1)
	{

		String createdb="CREATE TABLE IF NOT EXISTS person (personid integer primary key autoincrement, name varchar(20), age INTEGER)";
		// TODO: Implement this method
		p1.execSQL(createdb);
		
	}

	@Override
	public void onUpgrade(SQLiteDatabase p1, int p2, int p3)
	{
		// TODO: Implement this method
	}

}
